import { createRouter, createWebHistory } from "vue-router";

import Login from '../views/Login.vue'
import Show from '../views/Show.vue'
import Manager from '../views/Manager.vue'

const routes = [
    {
        path: '/',
        name: "Login",
        component: Login
    },
    {
        path: '/Show',
        name: "Show",
        component: Show
    },
    {
        path: '/Manager/:I_Id',
        name: "Manager",
        component: Manager
    }
]
const router = createRouter({
    history: createWebHistory(),
    routes
})
export default router